//
//  TestVC.swift
//  Auscultation
//
//  Created by zwb on 2021/3/30.
//

import UIKit

class TestVC: BaseVC {
    @IBOutlet weak var image2: UIImageView!
    @IBOutlet weak var image1: UIImageView!
    @IBOutlet weak var tipsL: UILabel!
    
    @IBOutlet weak var label2: UILabel!
    @IBOutlet weak var label1: UILabel!
    @IBAction func startTestClick(_ sender: UIButton) {
        self.navigationController?.pushViewController(PreTestVC(), animated: true)
    }
    
    @IBOutlet weak var startTest: UIButton!
    override func viewDidLoad() {
        super.viewDidLoad()
        
        let top_view = UIImageView()
        top_view.image = UIImage(named: "table2")
        top_view.isUserInteractionEnabled = true
        self.view.addSubview(top_view)
        top_view.snp.makeConstraints { (make) in
            make.top.left.right.equalToSuperview()
            make.height.equalTo(UIDevice.lgf_NavBarH())
        }
        self.navTitle = "等级测评"
        let style = LGFNavigationBarStyle.lgf()
        style.lgf_LeftBtnImageLight = UIImage(named: "darkback")!
        self.lgf_NavigationBar.lgf_Reload()

//        self.rightText = "测试结果"
//        self.lgf_NavigationBar.style.lgf_RightBtnTitleColor = UIColor.init(lgf_HexString: "FFFFFF")
//        self.lgf_NavigationBar.style.lgf_TitleColor = UIColor.init(lgf_HexString: "FFFFFF")
        
        
        self.lgf_NavigationBar.lgf_line?.isHidden = true
        self.lgf_NavigationBar.lgf_Reload()
        image2.isHidden = true
        image1.isHidden = true
        tipsL.isHidden = true
        label2.isHidden = true
        label1.isHidden = true


        // Do any additional setup after loading the view.
    }


    @objc override func rightBtnSelect(_ sender: UIButton) {
        navigationController?.pushViewController(TestRecordVC(), animated: true)
    }

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
